﻿using System.Runtime.Serialization;

namespace DataTransferObject
{
    [DataContract]
    public enum PanneDTOSeverity
    {
        [EnumMember]
        Moderate,

        [EnumMember]
        Serious
    }

    [DataContract]
    public class PanneDTO
    {
        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public string Code { get; set; }

        [DataMember]
        public string Label { get; set; }
        
        [DataMember]
        public PanneDTOSeverity Severity { get; set; }
    }
}
